package com.badibadi.activity;
import com.badibadi.uniclubber.R;

import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;

public class SuoYouRiLiActivity extends BaseActivity implements OnClickListener {

	Intent intent = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		goToTheTitle();
		setContentView(R.layout.activity_suo_you_ri_li);

		this.findViewById(R.id.button1).setOnClickListener(this);
		this.findViewById(R.id.button2).setOnClickListener(this);
		this.findViewById(R.id.button3).setOnClickListener(this);
		this.findViewById(R.id.button4).setOnClickListener(this);
		this.findViewById(R.id.button5).setOnClickListener(this);
		this.findViewById(R.id.button6).setOnClickListener(this);
		this.findViewById(R.id.button7).setOnClickListener(this);
		this.findViewById(R.id.button8).setOnClickListener(this);
		this.findViewById(R.id.button9).setOnClickListener(this);
		this.findViewById(R.id.button10).setOnClickListener(this);
		this.findViewById(R.id.button11).setOnClickListener(this);
		this.findViewById(R.id.button12).setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.button1:
			intent = new Intent(SuoYouRiLiActivity.this, CalendarActivity.class);
			startActivity(intent);
			break;
		case R.id.button2:
			intent = new Intent(SuoYouRiLiActivity.this,
					CalendarRigionActivity.class);
			startActivity(intent);
			break;
		case R.id.button3:
			intent = new Intent(SuoYouRiLiActivity.this,
					CalendarFriendActivity.class);
			startActivity(intent);
			break;
		case R.id.button4:
			intent = new Intent(SuoYouRiLiActivity.this,
					CalendarBetweenActivity.class);
			startActivity(intent);
			break;
		case R.id.button5:
			intent = new Intent(SuoYouRiLiActivity.this,
					CalendarClubActivityActivity.class);
			startActivity(intent);
			break;
		case R.id.button6:
			intent = new Intent(SuoYouRiLiActivity.this,
					ActivityOverViewActivity.class);//CalendarActivityOverViewActivity
			startActivity(intent);
			break;
		case R.id.button7:
			intent = new Intent(SuoYouRiLiActivity.this,
					CalendarMyActivityActivity.class);
			startActivity(intent);
			break;
//			
		}
	}

}
